package com.sds.sweng.swat.miplatform.ui.design.figures.logical;

import org.eclipse.draw2d.Figure;
import org.eclipse.draw2d.Graphics;

import com.sds.sweng.swat.miplatform.ui.design.figures.MLabel;
import com.sds.sweng.swat.miplatform.ui.design.layouts.FlowLayoutEx;

public class LTelNumFigure extends Figure {

	private LComboBoxFigure telNum1;
	private LEditBoxFigure telNum2;

	public LTelNumFigure() {
		FlowLayoutEx layout = new FlowLayoutEx();
		layout.setMinorSpacing(3);
		layout.setMajorSpacing(4);
		setLayoutManager(layout);

		telNum1 = new LComboBoxFigure();
		telNum1.setSize(55, 20);
		add(telNum1);

		telNum2 = new LEditBoxFigure();
		telNum2.setSize(87, 20);
		telNum2.setAlignment(MLabel.ALIGN_CENTER);
		add(telNum2);

		setSize(145, 20);
	}

	protected void paintFigure(Graphics graphics) {
		super.paintFigure(graphics);
	}

}
